package com.ibeetl.cms.dao;

import java.util.List;

import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.ibeetl.cms.entity.*;

/**
 * Quit Dao
 */
@SqlResource("cms.quit")
public interface QuitDao extends BaseMapper<Quit>{
    public PageQuery<Quit> queryByCondition(PageQuery query);
    public void batchDelQuitByIds( List<Long> ids);
    public PageQuery<Quit> findenterprise(PageQuery query);
     int notLeave(Long userId,Long companyId);
    int judgeYear(String declarationType,Integer userId,Integer year);
    int talentCardOverdue(Integer userId);
    TelentCard talentCardIsNull(Integer userId);

    int talentCardGetScore(Integer userId);
    PageQuery<Quit>  queryDoneTask(PageQuery page);
    int updateCompanyId(Integer userId);
}